const express = require('express');
const router = express.Router();
const cate = require('../controller/cateController');

/* GET home page. */
// router.get('/', cate.getCate);
router.get('/', (req, res) => {
    res.render('index', {'title': '你好'})
});

router.get('/getPostCate', cate.getPostCate)

module.exports = router;
